759c9b35cd4d74aff7b912324751b334bf598f47,spring-expression/src/main/java/org/springframework/expression/spel/ast/OpOr.java,OpOr,getValueInternal,#ExpressionState#,41

Before Change


		boolean leftValue;
		boolean rightValue;
		try {
			TypedValue typedValue = getLeftOperand().getValueInternal(state);
			this.assertTypedValueNotNull(typedValue);
			leftValue = (Boolean)state.convertValue(typedValue, TypeDescriptor.valueOf(Boolean.class));
		}
		catch (SpelEvaluationException see) {
			see.setPosition(getLeftOperand().getStartPosition());

After Change



	@Override
	public BooleanTypedValue getValueInternal(ExpressionState state) throws EvaluationException {
		if (getBooleanValue(state, getLeftOperand())) {
			// no need to evaluate right operand
			return BooleanTypedValue.TRUE;
		}